Skip to content

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Mar 4, 2025

Since none of these functions actually return an error value, we can remove that return entirely and in doing so remove a few error checks that would never be hit.

In the long run the unparam linter will help catch this for us.

Relates to #274

@G-Rath G-Rath force-pushed the refactor/remove-always-nil-errors branch 2 times, most recently from 829f302 to 3426941 Compare March 6, 2025 01:34
@G-Rath G-Rath force-pushed the refactor/remove-always-nil-errors branch from 5667887 to 1c994fd Compare March 13, 2025 02:08
@copybara-service copybara-service bot merged commit b93cd31 into google:main Mar 13, 2025
8 of 10 checks passed
@G-Rath G-Rath deleted the refactor/remove-always-nil-errors branch March 13, 2025 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants